package com.sword.invoice.channel.lq.adapt;

import com.sword.common.bean.Result;
import com.sword.invoice.bean.enums.InvoiceChannelEnum;
import com.sword.invoice.channel.lq.infrastructure.impl.LqServiceImp;
import com.sword.invoice.repository.AbsBlueInvoiceStrategy;

/**
 * @description: 乐企开蓝票渠道
 * @author：Lv.RJ
 * @version: 1.0.0
 * @create: 2025/02/17
 **/
public class LqBlueInvoiceStrategyAdapter extends AbsBlueInvoiceStrategy {
    //方式1
    /*    @Autowired
        ISLqService lqService;*/

    //方式2
    /*@Autowired
    ISLqServiceImpl lqService;*/

    //方式3
//    private static ISLqService lqService = new ISLqServiceImpl();

    /**
     * 重新方法
     */
    @Override
    public void doBeforeInvoiceHandler() {

    }

    /**
     * 编写执行
     */
    @Override
    public Result doInvoiceHandler() {
//        BussinessResponse invoke = AbstractConverter.invoke(null, null, null);

        return Result.succeed();
    }

    @Override
    public String getChannelCode() {
        return InvoiceChannelEnum.LQ_INVOICE.getCode();
    }
}
